package com.example.dto;

import java.util.List;
import java.util.Set;

import jakarta.validation.constraints.NotEmpty;

public class BatchUpdateRoleRequest {
    
    @NotEmpty(message = "用户ID列表不能为空")
    private List<Long> userIds;
    
    @NotEmpty(message = "角色列表不能为空")
    private Set<String> roles;
    
    public BatchUpdateRoleRequest() {
    }
    
    public BatchUpdateRoleRequest(List<Long> userIds, Set<String> roles) {
        this.userIds = userIds;
        this.roles = roles;
    }
    
    public List<Long> getUserIds() {
        return userIds;
    }
    
    public void setUserIds(List<Long> userIds) {
        this.userIds = userIds;
    }
    
    public Set<String> getRoles() {
        return roles;
    }
    
    public void setRoles(Set<String> roles) {
        this.roles = roles;
    }
} 